package com.atguigu.mapper;

import com.atguigu.base.BaseMapper;
import com.atguigu.entity.Permission;

import java.util.List;

/**
 * @Author: 翟文海
 * @Date: 2022/11/4/004 13:14
 * @Version: 1.0
 * @Description:
 **/
public interface PermissionMapper extends BaseMapper<Permission> {
    Integer findPermissionCountByParentId(Long id);

    List<Long> findPermissionByParentId();

    List<Permission> findByAdminId(Long adminId);

    List<Permission> findPermissionListByParentId(Long id);
}
